CountUserDataType
TheCountUserDataType
function allows you to determine the number of items of a given type in a user data list.
pascal short CountUserDataType (UserData theUserData, OSType udType);
theUserData
- Specifies the user data list for this operation. You obtain this list reference by calling the
GetMovieUserData
,GetTrackUserData
, orGetMediaUserData
function (described on page 2-215, page 2-216, and page 2-217, respectively).udType
- Specifies the type. The Movie Toolbox determines the number of items of this type in the user data list.
DESCRIPTION
TheCountUserDataType
function returns a short integer that contains the number of items of the specified type in the user data list.ERROR CODES
None